package com.zdb.demo.design.pattern.structural.decorator.v1;

public class Battercake {

    public String getDesc() {
        return "一个煎饼";
    }

    public int getCost() {
        return 8;
    }

    @Override
    public String toString() {
        return getDesc() + " 价格：" + getCost();
    }
}
